![]() |
PATH![]() |
![]() ![]() |
pascal OSStatus DrawThemeEditTextFrame (
const Rect *inRect,
ThemeDrawState inState);
The DrawThemeEditTextFrame function draws a theme-compliant frame for an editable text field. The frame is a maximum of 2 pixels thick and is drawn outside the specified rectangle. You should not use this function to draw frames for items other than editable text fields.
To ensure that you get an appropriate focus ring for your editable text field, you should pass the same rectangle that you use with DrawThemeEditTextFrame function to the function DrawThemeFocusRect .